#pragma once
#include "DatabaseWorkerPool.h"
#include "MySQLConnection.h"

class FreedomDatabaseConnection : public MySQLConnection
{
public:
    //- Constructors for sync and async connections
    FreedomDatabaseConnection(MySQLConnectionInfo& connInfo) : MySQLConnection(connInfo) { }
    FreedomDatabaseConnection(ACE_Activation_Queue* q, MySQLConnectionInfo& connInfo) : MySQLConnection(q, connInfo) { }

    //- Loads database type specific prepared statements
    void DoPrepareStatements();
};

typedef DatabaseWorkerPool<FreedomDatabaseConnection> FreedomDatabaseWorkerPool;

enum FreedomDatabaseStatements
{
    //FREEDOM_SEL_CONFIG,


    MAX_FREEDOM_DATABASE_STATEMENTS
};
